<include file="../Public/header" />


	<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/layout.css" />
 <link href="__PUBLIC__/themes/blue/layout.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="__PUBLIC__/js/admin.js" ></script>

<body>
<!-- 前台管理 BEGIN -->
<div id="container_s">
	<!-- 搜索位 BEGIN -->
    <form action="" method="post">
    <table class="tableborder" width="100%" id="search">
        <tbody>
            <tr class="top">
                <td class="border" colspan="2"></td>
            </tr>
            <tr onClick="$('#search .cell').toggle();">
                <th class="header" colspan="2">筛选条件</th>
            </tr>
            <tr class="label cell">
                <th>说明</th>
                <th>条件</th>
            </tr>
            <tr class="cell">
                <td class="altbg1"><b>标签名</b><br/></td>
                <td class="altbg2"><label>
                    <input type="text" name="tagname" id="tagname">
                </label></td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td><input type="submit" class="button mt10 mb10" value="提交" />&nbsp;</td>
            </tr>
        </tbody>
    </table>
    </form>
	<!-- 搜索位 END -->
	
	<!-- 正文 BEGIN -->
	<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder" id="checkList">
		<tbody>
			<!-- 列表标题 -->
			<tr class="top">
				<td class="border" colspan="8"></td>
			</tr>
			<tr>
				<th class="header" colspan="8"> 标签列表 </th>
			</tr>

			<!-- 列表字段 id,uid,title,appname,type,cTime -->
			<tr class="label cell">
				<th width="50">ID</th>
				<th width="100">标签</th>
				<th width="100">状态</th>
				<th>操作</th>
			</tr>
			
			<!-- 列表数据 -->
			<volist name="list.data" id='vo'>
			<tr class="cell">
				<td>{$vo.tagid}</td>
				<td>{$vo.tagname}</td>
				<td><php>if($vo['isShow']==0) echo '不显示'; else echo '显示';</php></td>
				<td>
                     <php>if($vo['isShow']==0) {</php>
                       <a href="{:U('admin/Tag/show', array('tagid'=>$vo['tagid']))}">显示</a>
                     <php>} else {</php>
                       <a href="{:U('admin/Tag/unshow', array('tagid'=>$vo['tagid']))}">不显示</a>
                     <php>}</php>
                </td>
				</tr>
			</volist>

			<tr class="bottom">
				<td class="border" colspan="8"><div class="page mt5 alR mb20" style="float:right;">{$list.html}</div></td>
			</tr>

		</tbody>
	</table>
	<!-- 正文 END -->
</div>
<!-- 前台管理 END -->
</body>
</html>
